package com.by.service.impl;

import com.by.bean.Dict;
import com.by.common.bean.ResultBean;
import com.by.common.crud.BaseServiceImpl;
import com.by.mapper.DictMapper;
import com.by.service.DictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Service
public class DictServiceImpl extends BaseServiceImpl<Dict, DictMapper> implements DictService {
    @Autowired
    DictMapper dictMapper;

    @Override
    public List<Map> query(int pid) {
        return baseMapper.query(pid);
    }

    @Override
    public Dict get(Serializable id) {
        return dictMapper.get(id);
    }
}
